package com.rabbiter.mapper;

import com.rabbiter.entity.ApprovalSteps;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ApprovalStepsMapper {
    int deleteByPrimaryKey(Integer stepId);

    int insert(ApprovalSteps record);

    int insertOrUpdate(ApprovalSteps record);

    int insertOrUpdateSelective(ApprovalSteps record);

    int insertSelective(ApprovalSteps record);

    ApprovalSteps selectByPrimaryKey(Integer stepId);

    int updateByPrimaryKeySelective(ApprovalSteps record);

    int updateByPrimaryKey(ApprovalSteps record);

    int updateBatch(List<ApprovalSteps> list);

    int updateBatchSelective(List<ApprovalSteps> list);

    int batchInsert(@Param("list") List<ApprovalSteps> list);
}